// Angular module
var requirePlugin = [
    'angular', 'angularAMD', 'moment', 'd3',
    'angular-material-lite', 'angular-material-dynamic', 'angular-swipe', 'angular-animate',
    'angular-touch',  'angular-ui-router', 'angular-css', 'angular-translate', 'angular-sanitize',
    'loader-static-files', 'angular-signalr-hub', 'module-installer', 'angular-ui-tree',
    'angular-gantt', 'angular-gantt-plugins', 'angular-gantt-progress-plugin'
];
var model = [
    'ui.router', 'pascalprecht.translate', 'angularCSS', 'ngMaterialLite', 'material.components.dynamic',
    'swipe', 'ngAnimate', 'ngSanitize', 'ngTouch', 'SignalR', 'ngModuleInstaller', 'angularMoment',
    'gantt', 'gantt.progress', 'gantt.table', 'ui.tree', 'gantt.tree' /*, 'gantt.tooltips'*/
];
if(window.cordova){
	//APP version
} else {
	//desktop version/web version
	requirePlugin.push('angular-perfect-scrollbar');
	model.push('perfect_scrollbar');
}
define(requirePlugin,
    function (angular) {
		'use strict';
        return angular.module('app',model);
	}
);
